// ==========================================================================
// GFast自动生成service操作代码。
// 生成日期：2024-04-24 15:24:03
// 生成路径: internal/app/business/service/program_types.go
// 生成人：周志雄
// desc:节目类型
// company:云南奇讯科技有限公司
// ==========================================================================


package service


import (
	"context"
	"github.com/tiger1103/gfast/v3/api/v1/business"
	"github.com/tiger1103/gfast/v3/internal/app/business/model"	
)


type IProgramTypes interface {
	List(ctx context.Context, req *business.ProgramTypesSearchReq) (res *business.ProgramTypesSearchRes, err error)
	GetById(ctx context.Context, Id int) (res *model.ProgramTypesInfoRes,err error)
	Add(ctx context.Context, req *business.ProgramTypesAddReq) (err error)
	Edit(ctx context.Context, req *business.ProgramTypesEditReq) (err error)
	Delete(ctx context.Context, Id []int) (err error)
}


var localProgramTypes IProgramTypes


func ProgramTypes() IProgramTypes {
	if localProgramTypes == nil {
		panic("implement not found for interface IProgramTypes, forgot register?")
	}
	return localProgramTypes
}


func RegisterProgramTypes(i IProgramTypes) {
	localProgramTypes = i
}
